{Data:article name="App" id="request" var="vo"}
<form action="__APP__/App/update.html" class="child-form page-list-form layui-form layui-form-pane" method="post">
	<div class="layui-form-item">
		<label class="layui-form-label">标识</label>
		<div class="layui-input-inline input-6x">
				<input type="text" class="layui-input" name="name" value="{$vo.name}" autocomplete="off" placeholder="请填写标识" />
		</div>
	</div>

	<div class="layui-form-item">
		<label class="layui-form-label">标题</label>
		<div class="layui-input-inline input-6x">
			<input type="text" class="layui-input" name="title" value="{$vo.title}" autocomplete="off" placeholder="请填写标题" />
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">图标</label>
		<div class="layui-input-inline input-6x">
			<input type="text" class="layui-input" name="icon" value="{$vo.icon}" autocomplete="off" placeholder="请填写图标，如set-sm" />
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">显示</label>
		<div class="layui-input-inline input-6x">
			{Html:Switch name="is_show" value="1" options="显示|隐藏" /}
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">状态</label>
		<div class="layui-input-inline input-6x">
			{Html:Switch name="status" value="1" options="启用|禁用" /}
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">排序</label>
		<div class="layui-input-inline input-6x">
			<input type="text" class="layui-input" name="sort" value="{$vo.sort}" autocomplete="off" placeholder="请填写排序数字" />
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-inline input-6x">
			<button type="submit" class="layui-btn" lay-submit="" lay-filter="formSubmit">提交</button>
		</div>
	</div>
	<input type="hidden" name="id" value="{$vo.id}" />
</form>
<script type="text/html" id="Editvo">
	{if condition="Request()->Action() eq 'edit'"}
	{Data:article name="App" id="request" var="vo"}
	{else /}
	{assing name="vo[]" value="" /}
	{/if}
	{$vo|json_encode}
</script>